package config

import (
	"github.com/zeromicro/go-zero/core/logx"
	"github.com/zeromicro/go-zero/rest"
)

type Config struct {
	RestServices map[string]ServiceConfig
	Mysql        MysqlConfig
	LogConf      logx.LogConf
}

type MysqlConfig struct {
	DataSource      string
	UserInfoTable   string
	AgentHeartbeats string
	ComponentInfo   string
	DeploymentLogs  string
	AlertRules      string
	AlertRulesInfo  string
	Notifications   string
}

type ServiceConfig struct {
	RestConf rest.RestConf
}
